﻿<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="UserZhiwuManage.aspx.cs"
    Inherits="Enterprise.UI.Web.Manage.ZhiWu.UserZhiwuManage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="/Manage/Common/style/Site.css" rel="Stylesheet" type="text/css" />
    <link rel="stylesheet" href="/Manage/Common/style/table/classic/Css.css" type="text/css" />
    <script language="javascript" src="/Manage/Common/js/global.js" type="text/javascript"></script>
    <script language="javascript" src="/Manage/Common/js/hiblue.js" type="text/javascript"></script>
    <link type="text/css" rel="Stylesheet" href="../../Manage/Common/style/pms.css" />
    <link href="../../Manage/Common/style/form/uni-form.css" media="screen" rel="stylesheet" />
    <link href="../../Manage/Common/style/form/default.uni-form.css" title="Default Style"
        media="screen" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div id="hbNav">
            <div id="navLeft">
                系统<span class="hbdot">&raquo;</span>职务名称<span class="hbdot">&raquo;</span><asp:Label
                    ID="lb_Name1" runat="server"></asp:Label>
            </div>
            <div id="navRight">
                <a href="javascript:window.close()">
                    <img src="../../Manage/Common/img/icon/delete.gif" border="0" align="absmiddle" alt="">
                    关闭窗口</a>
            </div>
        </div>
        <fieldset id='mainField'>
            <div id="MasterTab">
                <span class='tabnow'>职务名称</span>
            </div>
            <br style='clear: both;'>
            <table id='dvTable'>
                <tr class='dvtr' id='vvTitle'>
                    <td class='dvLtd'>职务名称
                    </td>
                    <td class='dvRtd' colspan='3'>
                        <asp:Label ID="lb_Name" runat="server"></asp:Label>
                        <i></i>
                    </td>
                </tr>
                <tr class='dvtr' id='vvDescript'>
                    <td class='dvLtd'>摘要
                    </td>
                    <td class='dvRtd' colspan='3'>
                        <asp:Label ID="lb_Remark" runat="server"></asp:Label>
                        <i></i>
                    </td>
                </tr>
                <tr class='dvtr' id='Tr1'>
                    <td colspan="2">
                        <asp:GridView ID="GridView1" runat="server" DataKeyNames="UZID" AutoGenerateColumns="false"
                            OnRowDataBound="GridView1_OnRowDataBound" OnRowCommand="GridView1_OnRowCommand"
                            Width="100%">
                            <Columns>
                                <asp:TemplateField ItemStyle-Width="30">
                                    <ItemTemplate>
                                        <img src="../../Manage/Common/img/arrow_142.gif" alt="" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="人员" ItemStyle-HorizontalAlign="Left">
                                    <ItemTemplate>
                                        <%#Enterprise.Service.User.UserService.GetUserName((int)Eval("USERID")) %>
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField ItemStyle-Width="60">
                                    <ItemTemplate>
                                        <asp:LinkButton ID="LinkButton3" CommandName="mDelete" CommandArgument='<%#Container.DataItemIndex  %>'
                                            OnClientClick="return confirm('确定要删除该人员？删除将无法恢复')" runat="server">删除</asp:LinkButton>
                                    </ItemTemplate>
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                    </td>
                </tr>
            </table>
        </fieldset>
        <fieldset>
            <h3>人员职务设置</h3>
            <div class="ctrlHolder">
                <table>
                    <tr>
                        <td style="width:80px;">人员</td>
                        <td>
                            <asp:DropDownList ID="tb_Dept" runat="server" AutoPostBack="true" OnSelectedIndexChanged="tb_Dept_SelectedIndexChanged">
                            </asp:DropDownList></td>
                        <td>
                            <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                                <Triggers>
                                    <asp:AsyncPostBackTrigger ControlID="tb_Dept" EventName="SelectedIndexChanged" />
                                </Triggers>
                                <ContentTemplate>
                                    <asp:DropDownList ID="tb_User" runat="server">
                                    </asp:DropDownList>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                        </td>
                        <td>
                            <div class="buttonHolder" id="SubmitTr" runat="server">
                                <asp:Button ID="Button1" runat="server" CssClass="primaryAction" OnClick="Button1_OnClick"
                                    OnClientClick="" Text="提 交" />
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </fieldset>

    </form>
    <script language="javascript" type="text/javascript" src="../../Manage/Common/js/jquery-1.7.min.js"></script>
    <script type="text/javascript" src="../../Manage/Common/js/uni-form-validation.jquery.min.js"
        charset="utf-8"></script>
    <script>
        $(function () {
            $('form.uniForm').uniform({
                prevent_submit: true
            });
        });
    </script>
</body>
</html>
